/** ###################################################################
**     Filename  : Encoder.H
**     Project   : CyberPark
**     Processor : MC9S12XS128MAL
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 2011-8-1, 0:44
**     Contents  :
**         User source code
**
**     (c) Copyright UNIS, a.s. 1997-2008
**     UNIS, a.s.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/

#ifndef __Encoder_H
#define __Encoder_H

/* MODULE Encoder */
#include "Types.h"

#define ENCODER_PA (0)
#define ENCODER_INT (1)


extern volatile U16 EncoderValue;
extern volatile S16 EncoderDeltaValue;
extern volatile U8 EncoderChoice;

void EncoderInitial(void);
void EncoderIrqHandler(void);
void EncoderSetChoice(U8 choice);
void EncoderDuplexIrqHandler(void);




           
/* END Encoder */

#endif

